#include <48func.h>
int main(int argc, char *argv[])
{
    // ./2_pipe_read 1.pipe
    ARGS_CHECK(argc,2);
    int fdr = open(argv[1],O_RDONLY);//打开管道的读端
    ERROR_CHECK(fdr,-1,"open");
    printf("read side is opened\n");
    return 0;
}

